Skip to content

ci: add review-gate, OpenSSF Scorecard and Dependabot cooldown - #81

Merged
ricardofrantz merged 3 commits into
mainfrom
ci/review-gate-scorecard
Nov 14, 2026
Merged

ricardofrantz merged 3 commits into
mainfrom
ci/review-gate-scorecard

Conversation

@ricardofrantz

@ricardofrantz ricardofrantz commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Changes:

  • review-gate.yml (waits for the CodeRabbit and cubic check runs on the head commit; fails if cubic did not complete or CodeRabbit was off or errored; warns when CodeRabbit is rate limited or skips a later push after a finished review) and scorecard.yml (OpenSSF Scorecard, weekly, SARIF upload); permissions are least-privilege and every action is pinned to a full commit SHA, same files as machine-made/pi-effort
  • cooldown default-days 7 on each Dependabot update entry (uv's exclude-newer fails Dependabot jobs on releases younger than 7 days)

View guided diff

Summary by CodeRabbit

  • Chores
    • Dependency updates are now subject to a seven-day cooldown.
    • Pull requests now have automated review checks that verify review completion and flag unsuccessful or incomplete results.
    • Automated security scoring now runs on scheduled and selected repository changes, with results available for review.

…tance

Changes:
- review-gate.yml (waits for the CodeRabbit and cubic check runs on the head commit; fails if cubic did not complete or CodeRabbit was off or errored; warns when CodeRabbit is rate limited or skips a later push after a finished review) and scorecard.yml (OpenSSF Scorecard, weekly, SARIF upload); permissions are least-privilege and every action is pinned to a full commit SHA, same files as machine-made/pi-effort
- cooldown default-days 7 on each Dependabot update entry (uv's exclude-newer fails Dependabot jobs on releases younger than 7 days)

Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds seven-day dependency cooldowns, a pull request review gate for CodeRabbit and cubic checks, and an OpenSSF Scorecard workflow.

Changes: Dependency cooldowns

Layer / File(s) Summary
Set default dependency cooldowns
.github/dependabot.yml
Adds a seven-day default cooldown to the Cargo, GitHub Actions, three pip, and uv update configurations.

Pull request review gate

Layer / File(s) Summary
Run and evaluate review checks
.github/workflows/review-gate.yml
Adds a pull request workflow that polls CodeRabbit and cubic checks and applies the specified pass, warning, and failure conditions.

OpenSSF Scorecard workflow

Layer / File(s) Summary
Run and publish Scorecard analysis
.github/workflows/scorecard.yml
Adds Scorecard triggers and analysis, then stores the SARIF artifact for five days and uploads it to code scanning.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Merge Risk: Minimal · up to 5ff12

This PR adds dependency cooldowns, a review-gate workflow and a Scorecard workflow. They affect only repository automation. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names three changes: review-gate workflow, OpenSSF Scorecard workflow, and Dependabot cooldown. All three appear in the changeset summaries and objectives. The title is concise, uses a conve…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names three changes: review-gate workflow, OpenSSF Scorecard workflow, and Dependabot cooldown. All three appear in the changeset summaries and objectives. The title is concise, uses a conventional ci: prefix, and omits no major change. It lists several items rather than one main point, which is acceptable since the changeset is a single CI-focused bundle.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fabba5d and 5ff12b5.

Files selected for processing: 3

  • .github/dependabot.yml
  • .github/workflows/review-gate.yml
  • .github/workflows/scorecard.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread .github/workflows/review-gate.yml Resolved
Comment thread .github/workflows/review-gate.yml Resolved
…effort 479a885)

Commit listing paginated, gh error bodies no longer pass the review count, Finished needs success, CodeRabbit lookup filtered by check name, documented skip titles accepted, re-run hint, 15 min Scorecard timeout.

Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread .github/workflows/review-gate.yml Resolved
Comment thread .github/workflows/review-gate.yml Resolved
A failed commit listing gets its own error, a PR-scoped concurrency group cancels superseded gate runs, the historical lookup reads all check attempts, the failure message asks for a full review, and a manual Scorecard run on a non-default branch is skipped.

Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread .github/workflows/review-gate.yml Resolved
@ricardofrantz
ricardofrantz merged commit f1f7938 into main Nov 14, 2026
29 checks passed
@ricardofrantz
ricardofrantz deleted the ci/review-gate-scorecard branch November 14, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant